﻿using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System.ComponentModel;

namespace Pangeo.Admin.Models.HrmDb.Dto
{
    public class TmLeaveOfAbsencesTime
    {
        [Description("请假ID")]
        [BsonId]
        public ObjectId _id { get; set; }

        [Description("工号")]
        public string people_no { get; set; }

        [Description("姓名")]
        public string people_name { get; set; }

        [Format("yyyy-MM-dd HH:mm")]
        [Description("请假开始时间")]
        public DateTime start_time { get; set; }

        [Format("yyyy-MM-dd HH:mm")]
        [Description("请假结束时间")]
        public DateTime end_time { get; set; }

        [Description("请假时长")]
        public double hours { get; set; }
    }
}
